Skip to main content
PATCH
/
settings
Update settings
curl --request PATCH \
  --url https://your_a2_service/settings \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "access_token": {
    "access_token": "<string>",
    "token_type": "Bearer"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "currency": "usd",
  "external_channel_url": "<string>",
  "language": "en",
  "tls_domain": "<string>",
  "tls_enable": true,
  "updated_at": "2023-11-07T05:31:56Z",
  "yield_optimization": {
    "ceiling_cpm": 123,
    "floor_cpm": 123,
    "yield_roas_balance": 0.5
  }
}'
{
  "access_token": {
    "access_token": "<string>",
    "token_type": "Bearer"
  },
  "created_at": "2023-11-07T05:31:56Z",
  "currency": "usd",
  "external_channel_url": "<string>",
  "language": "en",
  "tls_domain": "<string>",
  "tls_enable": true,
  "updated_at": "2023-11-07T05:31:56Z",
  "yield_optimization": {
    "ceiling_cpm": 123,
    "floor_cpm": 123,
    "yield_roas_balance": 0.5
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json

Schema for Setting

access_token
object | null
required

Access token info

currency
string
required

Currency code for the system. It is used for the budget management.

Examples:

"usd"

"krw"

external_channel_url
string | null
required

External channel URL which will be used on budget management.

language
string
required

Language code for the system.

Examples:

"en"

"ko"

tls_domain
string | null
required

TLS domain name.

tls_enable
boolean
required

Whether TLS is enabled.

yield_optimization
object | null
required

Yield optimization settings

created_at
string<date-time> | null

The date and time the entity was created.

updated_at
string<date-time> | null

The date and time the entity was last updated.

Response

Successful Response

Schema for Setting

access_token
object | null
required

Access token info

currency
string
required

Currency code for the system. It is used for the budget management.

Examples:

"usd"

"krw"

external_channel_url
string | null
required

External channel URL which will be used on budget management.

language
string
required

Language code for the system.

Examples:

"en"

"ko"

tls_domain
string | null
required

TLS domain name.

tls_enable
boolean
required

Whether TLS is enabled.

yield_optimization
object | null
required

Yield optimization settings

created_at
string<date-time> | null

The date and time the entity was created.

updated_at
string<date-time> | null

The date and time the entity was last updated.